package liany.xk.common;

import java.util.UUID;
 /**
 　* @description: 生成唯一主键
 　* @author qxLi
 　* @date 2019/5/8 15:08
 　*/
public class CreateUuid {
    public static String getUUID(){
        String uuid = UUID.randomUUID().toString();
        //去掉“-”符号
        String a = uuid.replaceAll("-", "");
        System.out.println(a);
        System.out.println(a.length());
        return a;
    }
}
